package com.yungu.swift.system.finance.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.model.PageVo;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.system.finance.model.dto.FinanceRefundDto;
import com.yungu.swift.system.finance.model.param.AdminRefundPageParam;
import com.yungu.swift.system.finance.model.vo.FinanceRefundVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * 财务资金退款记录
 */
public interface FinanceRefundService extends BaseService<FinanceRefundDto> {
    /**
     * 查询退款账单
     *
     * @param refundPageParam
     * @return
     */
    ResponseData<PageVo<FinanceRefundVo>> queryPageVo(AdminRefundPageParam refundPageParam);

    /**
     * 退款账单导出查询
     *
     * @param refundPageParam
     * @return
     */
    ResponseData<List<FinanceRefundVo>> export(AdminRefundPageParam refundPageParam);

    /**
     * 查询退款金额
     *
     * @param orderUuid 订单uuid
     * @return
     */
    ResponseData<BigDecimal> findRefundAmount(String orderUuid);
}